<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

<h:head>
	<h:outputStylesheet library="css" name="bootstrap.css"  />
	<h:outputStylesheet library="css" name="starter-template.css"  />
	<h:outputScript library="js" name="bootstrap.js" />
	<meta charset="utf-8"/> 
</h:head> 
<h:body>
	<ui:include src="menu.xhtml" />
	<div class="container">
		<div class="starter-template">
			<h:form>
		    	<h:panelGrid columns="2" >
		       		<h:outputLabel value="ID : "/>
		        		<h:inputText value="#{configController.modulo.id}" styleClass="form-control"/>
		        	
		         	<h:outputLabel value="Dirección IP"/>
		         	<h:inputText value="#{configController.modulo.ip}" styleClass="form-control"/>
		
		         	<h:outputLabel value="Nombre Modulo: "/>
		        	<h:inputText value="#{configController.modulo.nombreModulo}" styleClass="form-control"/>
		        </h:panelGrid>
		       	
		       	<h:commandButton 	value="Crear Módulo"                                  
		                     		action="#{configController.addModulo}"
		                     		styleClass="btn btn-default"/>            
			</h:form>
		</div>
	</div>
</h:body>
</html>
